//
//  MessageHelper.h
//  nbappdev
//
//  Created by boleguigu_dev1 on 16/8/15.
//  Copyright © 2016年 boleguigu_dev1. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DBMessage+CoreDataClass.h"
#import "SignalR.h"
#import "DBMessageList+CoreDataClass.h"

@interface MessageHelper : NSObject

+(DBMessage *)saveMessage:(NSDictionary *)dictionary;

+(DBMessageList *)saveMessageList:(DBMessage *)message;

-(SRHubConnection *)setHubConnection:(id)target action:(SEL)selector;
@end
